import time

class log_mark:
    def __init__(self) -> None:
        self.mark_time = self.GetTimeStr()
    @staticmethod
    def GetTimeStr():
        '''
        返回日期字符串 如211103_161722
        '''
        return time.strftime("%y年%m月%d日_%H%M%S", time.localtime())
    def loggging(self,msg):
        with open("log_{}.txt".format(self.mark_time),"") as f:
            f.write()
    def table_mark(self,data:list):
        with open("table_{}.csv","") as f:
            f.write(",".join(data)+"\r\n")